package org.jeecg.modules.ywSemiFinishedProductInventory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.ywSemiFinishedProductInventory.entity.YwSemiFinishedProductInventoryInfo;
import org.jeecg.modules.ywSemiFinishedProductInventory.vo.MobileInventoryRequest;

import java.util.Date;
import java.util.List;

/**
 * @Description: 半成品库存
 * @Author: jeecg-boot
 * @Date: 2024-08-19
 * @Version: V1.0
 */
public interface IYwSemiFinishedProductInventoryInfoService extends IService<YwSemiFinishedProductInventoryInfo> {

    List<YwSemiFinishedProductInventoryInfo> selectList(String deptName, String productCode, String productName, String boxType);

    /**
     * 移库(库存拆分：部分物品从这个位置移动到另外一个位置)
     *
     * @param mobileInventoryRequest
     */
    void mobile(MobileInventoryRequest mobileInventoryRequest);

    void outBatch(List<String> wantOutIdList, Date outDate, String billNo);

}
